package it.okkam.utility;

import java.util.ArrayList;
import java.util.List;

import it.okkam.costants.ExtentMaxLatComune;
import it.okkam.costants.ExtentMaxLonComune;
import it.okkam.costants.ExtentMinLatComune;
import it.okkam.costants.ExtentMinLonComune;



public class ExtentComuni {
public Double[] getExtentMin(String comune) {
	
	Double[] extMin = new Double[2];
	
	 extMin[0]= Double.valueOf(ExtentMinLatComune.ComuneMinLat.get(comune));
	 extMin[1]= Double.valueOf(ExtentMinLonComune.ComuneMinLon.get(comune));
	 
	return extMin;
	}

public Double[] getExtentMax(String comune) {
	
	Double[] extMax = new Double[2];
	
	 extMax[0]= Double.valueOf(ExtentMaxLatComune.ComuneMaxLat.get(comune));
	 extMax[1]= Double.valueOf(ExtentMaxLonComune.ComuneMaxLon.get(comune));
	 
	return extMax;
	}

}
